SMAHB04300_[자동판정]자동판정분류 설정.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 :
  4. * 설 명 :
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>[자동판정]대사증후군/심혈관질환 설정</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <condition>
  20. <instcd/>
  21. <grupid/>
  22. <lang/>
  23. <wkdate/>
  24. <flag/>
  25. <workflagcd/>
  26. <cpgrupid/>
  27. </condition>
  28. <list>
  29. <grdinqrlist/>
  30. </list>
  31. </main>
  32. <disply>
  33. <langlst>
  34. <cdid/>
  35. <cdnm/>
  36. </langlst>
  37. </disply>
  38. <send>
  39. <langlst/>
  40. <grdinqrlist/>
  41. </send>
  42. <hidden/>
  43. <temp/>
  44. <init>
  45. <A0007list>
  46. <A0007>
  47. <cdnm/>
  48. <cdid/>
  49. </A0007>
  50. </A0007list>
  51. <A0008list>
  52. <A0008>
  53. <cdnm/>
  54. <cdid/>
  55. </A0008>
  56. </A0008list>
  57. </init>
  58. </root>
  59. </instance>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  64. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  65. <script type="javascript" src="../../../ast/healexamautojudgweb/js/AJDG001.js"/>
  66. <script type="javascript" ev:event="xforms-ready">
  67. <![CDATA[
  68. fInit();
  69. fDefaultSubmit();
  70. // fPopupSet();
  71. model.refresh();
  72. ]]>
  73. </script>
  74. <submission id="TRAHB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlist"/>
  75. <submission id="TRAHB04301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/list/grdinqrlist"/>
  76. <submission id="TXAHB04302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/grdinqrlist" resultref="/root/temp"/>
  77. <submission id="TRAHB03805" mediatype="application/x-www-form-urlencoded" method="post"/>
  78. </model>
  79. <script type="javascript">
  80. <![CDATA[
  81. function fInit(){
  82. model.resetInstanceNode("/root/disply/grupid");
  83. model.resetInstanceNode("/root/disply/langid");
  84. model.removeNodeset("/root/main/list/grdinqrlist");
  85. // model.setValue("/root/main/condition/workflagcd","QRCL")
  86. var instcd = getUserInfo("dutplceinstcd");
  87. model.setValue("/root/main/condition/instcd",instcd);
  88. var sToday = getCurrentDate().toString();
  89. model.setValue("/root/main/condition/wkdate",sToday);
  90. model.setValue("/root/main/condition/lang" , "KOR");
  91. /* 언어 콤보박스 세팅 */
  92. // model.setValue("/root/main/condition/flag","LANG")
  93. // model.makeNode("/root/send/langlst");
  94. // model.copyNode("/root/send/langlst", "/root/main/condition");
  95. // submit("TRAHB04201");
  96. /* 문진지 콤보박스 세팅 */
  97. // model.setValue("/root/main/condition/flag","LANG")
  98. // model.resetInstanceNode("/root/send/langlst");
  99. //model.removeNodeset("/root/send/langlst");
  100. // model.copyNode("/root/send/langlst", "/root/main/condition");
  101. // submit("TRAHB04101");
  102. }
  103. function fDefaultSubmit() {
  104. //A0007. ajbc workflagcd
  105. fGetHealexamCodeList( new Array("A0007" , "A0008"),
  106. new Array("/root/init/A0007list" ,"/root/init/A0008list") );
  107. combo2.refresh();
  108. combo1.refresh();
  109. }
  110. //데이터 처리
  111. function fSave() {
  112. model.setValue("/root/send/grdinqrlist", grd_autjggrid.getUpdateData());
  113. submit("TXAHB04302",false);
  114. fRetrive();
  115. }//fSave end
  116. function fRetrive() {
  117. model.resetInstanceNode("/root/main/list/grdinqrlist");
  118. model.removeNodeset("/root/main/list/grdinqrlist");
  119. submit("TRAHB04301",false);
  120. }//fRetrive end
  121. function fAddDelRow(sStatus)
  122. {
  123. if(sStatus == "A"){
  124. //misfGridIUD(grd_autjggrid, sStatus);
  125. grd_autjggrid.addRow();
  126. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("instcd")) = getUserInfo("dutplceinstcd");
  127. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("workflagcd")) = model.getValue("/root/main/condition/workflagcd");
  128. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("grupid")) = model.getValue("/root/main/condition/grupid");
  129. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("langflag")) = model.getValue("/root/main/condition/lang");
  130. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("fromdd")) = model.getValue("/root/main/condition/wkdate");
  131. grd_autjggrid.valueMatrix(grd_autjggrid.row, grd_autjggrid.colRef("todd")) = "99991231";
  132. }else{
  133. misfGridIUD(grd_autjggrid, sStatus);
  134. }
  135. }
  136. ]]>
  137. </script>
  138. </xhtml:head>
  139. <xhtml:body pagewidth="1194" pageheight="720" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  140. <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
  141. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:249px; height:14px; ">[자동판정]자동판정 분류 설정</caption>
  142. </group>
  143. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1115px; height:662px; ">
  144. <group id="grp_sea" style="left:0px; top:5px; width:1115px; height:40px; vertical-align:top; ">
  145. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1115px; height:40px; "/>
  146. <line id="line13" class="line_4" style="x1:1040px; y1:5px; x2:1040px; y2:32px; "/>
  147. <button id="btn_srch" class="btn1_letter2" style="left:1050px; top:10px; width:56px; height:22px; ">
  148. <caption>조회</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. fRetrive();
  152. model.refresh();
  153. ]]>
  154. </script>
  155. </button>
  156. <input id="input2" ref="/root/main/condition/wkdate" class="input_s_essential" inputtype="date" style="left:530px; top:10px; width:105px; height:19px; "/>
  157. <caption id="caption3" class="search_name" visibility="visible" style="left:465px; top:10px; width:65px; height:17px; ">일자 :</caption>
  158. <caption id="caption2" class="search_name" visibility="visible" style="left:280px; top:10px; width:69px; height:17px; ">언어 :</caption>
  159. <select1 id="combo1" ref="/root/main/condition/lang" appearance="minimal" style="left:345px; top:9px; width:105px; height:19px; ">
  160. <choices>
  161. <itemset nodeset="/root/init/A0008list/A0008">
  162. <label ref="cdnm"/>
  163. <value ref="cdid"/>
  164. </itemset>
  165. </choices>
  166. </select1>
  167. <caption id="caption4" class="search_name" visibility="visible" style="left:10px; top:10px; width:86px; height:17px; ">그룹구분 :</caption>
  168. <select1 id="combo2" ref="/root/main/condition/workflagcd" appearance="minimal" style="left:100px; top:10px; width:175px; height:19px; ">
  169. <choices>
  170. <itemset nodeset="/root/init/A0007list/A0007">
  171. <label ref="cdnm"/>
  172. <value ref="cdid"/>
  173. </itemset>
  174. </choices>
  175. <script type="javascript" ev:event="xforms-value-changed">
  176. <![CDATA[
  177. if(combo2.value == "FRAM"){
  178. button2.disabled = false; button2.refresh();
  179. }else{
  180. button2.disabled = true; button2.refresh();
  181. }
  182. btn_srch.dispatch("DOMActivate");
  183. ]]>
  184. </script>
  185. </select1>
  186. </group>
  187. <line id="line1" class="line_1" style="x1:0px; y1:68px; x2:1115px; y2:68px; ">--화면 import 방법</line>
  188. <datagrid id="grd_autjggrid" nodeset="/root/main/list/grdinqrlist" autoresize="true" caption="기관코드^분류코드^언어^ID^선택^그룹ID^그룹구분^orgchk^대분류^중분류^소분류^코드명^참고사항1^참고사항2^적용시작일^적용종료일^순서^최초등록자^최종수정자" colsep="^" colwidth="0, 0, 0, 0, 42, 53, 135, 10, 45, 45, 45, 223, 133, 87, 85, 85, 32, 70, 75, 100" dataheight="50" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:73px; width:1115px; height:560px; color:#0000ff; ">
  189. <col ref="instcd" visibility="hidden"/>
  190. <col ref="workflagcd" visibility="hidden"/>
  191. <col ref="langflag" visibility="hidden"/>
  192. <col ref="grupid" visibility="hidden"/>
  193. <col checkvalue="Y,N" ref="chkyn" type="checkbox"/>
  194. <col ref="grupid" type="input" mask="##" maxlength="3" style="color:#0000ff; text-align:center; "/>
  195. <col ref="workflagcd" type="combo">
  196. <choices>
  197. <itemset nodeset="/root/init/A0007list/A0007">
  198. <label ref="cdnm"/>
  199. <value ref="cdid"/>
  200. </itemset>
  201. </choices>
  202. </col>
  203. <col ref="chkorg" visibility="hidden"/>
  204. <col ref="ajclscd1" type="input" mask="##" maxlength="3" style="left:225px; top:23px; width:60px; height:23px; color:#0000ff; text-align:center; "/>
  205. <col ref="ajclscd2" type="input" mask="##" maxlength="3" style="left:270px; top:23px; width:60px; height:23px; color:#0000ff; text-align:center; "/>
  206. <col ref="ajclscd3" type="input" mask="##" maxlength="3" style="color:#0000ff; text-align:center; "/>
  207. <col ref="ajclsnm" type="input" style="color:#0000ff; "/>
  208. <col ref="remark1" type="input"/>
  209. <col ref="remakr2" type="input"/>
  210. <col ref="fromdd" type="inputdate" style="text-align:center; "/>
  211. <col ref="todd" type="inputdate" style="text-align:center; "/>
  212. <col ref="viewseq" type="input" format="###" style="text-align:center; "/>
  213. <col ref="fstrgstrid" visibility="hidden"/>
  214. <col ref="lastupdtrid"/>
  215. <col ref="inqrid" visibility="hidden"/>
  216. </datagrid>
  217. <caption id="caption1" class="tit_2" style="left:4px; top:52px; width:216px; height:14px; ">자동판정 분류 설정 상세 리스트</caption>
  218. <button id="button1" class="btn5_letter2" style="left:1072px; top:48px; width:42px; height:19px; ">
  219. <caption>저장</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. fSave();
  223. model.refresh();
  224. ]]>
  225. </script>
  226. </button>
  227. <button id="btn_addqest" class="btn2_letter3" style="left:964px; top:48px; width:53px; height:19px; ">
  228. <caption>행추가</caption>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. fAddDelRow("A");
  232. ]]>
  233. </script>
  234. </button>
  235. <button id="btn_delqest" class="btn2_letter3" style="left:1018px; top:48px; width:53px; height:19px; ">
  236. <caption>행삭제</caption>
  237. <script type="javascript" ev:event="DOMActivate">
  238. <![CDATA[
  239. deleteSelectedRows(grd_autjggrid, true);
  240. model.refresh();
  241. ]]>
  242. </script>
  243. </button>
  244. <button id="button2" class="btn2_letter4" disabled="true" style="left:899px; top:48px; width:64px; height:19px; ">
  245. <caption>상세보기</caption>
  246. <script type="javascript" ev:event="onclick">
  247. <![CDATA[
  248. modal("SMAHB04400", "1","50", "50", "SMAHB04400", "", "", ""); //sysmenu:hidden
  249. ]]>
  250. </script>
  251. </button>
  252. </group>
  253. </xhtml:body>
  254. </xhtml:html>